package whr.modules.ask.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Data;
import whr.common.validator.DateUtil;

/**
 * 
 * 
 * @author liuli
 * @email 
 * @date 2024-11-01 10:54:10
 */
@Data
@TableName("ask_salary")
public class SalaryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 工资主键ID
	 */
	@TableId
	private Long salaryId;
	/**
	 * 员工id
	 */
	private Long userId;
	/**
	 * 工资发放时间
	 */
	@JsonDeserialize(using = DateUtil.class)
	private Date salaryTime;
	/**
	 * 应发工资
	 */
	private Integer salaryNum;
	/**
	 * 备注
	 */
	private String note;
	/**
	 * 五险一金（500）
	 */
	private Integer salaryWxyz;
	/**
	 * 实际发送工资
	 */
	private Integer salaryFact;
	/**
	 * 扣除工资
	 */
	private Integer salarySub;
	/**
	 * 员工真实姓名
	 */
	@TableField(exist=false)
	private String realName;
	/**
	 * kpi
	 */
	private Double kpi;

}
